import request from '@/utils/request'

export const getList = (params) => {
  return request({
    url: 'Order/index',
    method: 'get',
    params
  })
}

export const del = (id) => {
  return request({
    url: 'Order/del',
    method: 'get',
    params: {
      ids: id
    }
  })
}

export const multi = (params) => {
  return request({
    url: 'Order/multi',
    method: 'get',
    params: params
  })
}

export const edits = (data) => {
  return request({
    url:'Order/edit',
    method: 'post',
    data
  })
}